| Total Complexity | 106 |
| Dependencies | 20 |
| Dependents | 3 |
| Total lines | 558 |
| Lines of code | 289 |
| Logical lines of code | 159 |
| Comment lines | 146 |
| Methods | 14 |
| Properties | 1 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| getAuthenticatedUserResponse() | 35 | 18 | 84 | |
| authorization() | 47 | 19 | 32 | |
| getAuthenticatedUser() | 44 | 13 | 43 | |
| getAppointmentsCountForUser() | 44 | 9 | 43 | |
| setWpUserIdForNewUser() | 53 | 10 | 21 | |
| isCustomerBooking() | 59 | 10 | 13 | |
| setWpUserIdForExistingUser() | 53 | 9 | 21 | |
| isAmeliaUser() | 67 | 4 | 8 | |
| isAdminAndAllowedToBookAtAnyTime() | 69 | 3 | 6 | |
| isAdminAndAllowedToBookOver() | 69 | 3 | 6 | |
| checkProviderPermissions() | 77 | 3 | 3 | |
| isCustomer() | 78 | 2 | 3 | |
| isProvider() | 78 | 2 | 3 | |
| __construct() | 81 | 1 | 3 |